<!-- This uses encrypted passwords stored in the the properties file.  There is one user
     Username: admin, password: admin
     They were  encrypted by running the following (example given to encrypt the word 'admin')
     java -classpath %JBOSS_HOME%\client\jbossall-client.jar org.jboss.security.Base64Encoder admin SHA-256
     NOTE: remove the [] surrounding the returned encrypted password. -->

    <application-policy name = "jmx-console">
       <authentication>
          <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
             flag = "required">
           <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
           <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
      <module-option name="hashAlgorithm">SHA-256</module-option>
      <module-option name="hashEncoding">base64</module-option>		   
          </login-module>
       </authentication>
    </application-policy>